﻿/*
 *
 * (c) Copyright Ascensio System SIA 2020
 *
 * The MIT License (MIT)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 *
*/

html {
    height: 100%;
    width: 100%;
}
body {
    background: #fff;
    color: #333;
    font-family: 'Open Sans', Tahoma,sans-serif;
    font-size: 12px;
    font-weight: normal;
    height: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
}
form {
    height: 100%;
}
div {
    margin: 0;
    padding: 0;
}
a, a:hover, a:visited {
    color: #333;
}


.top-panel {
    background: url("img/logo.png") no-repeat 30px center #3D4A6B;
    height: 80px;
    width: 100%;
}
.main-panel {
    margin: 80px auto;
    width: 600px;
}
.portal-name {
    font-size: 20px;
}
.portal-descr {
    display: inline-block;
    line-height: 20px;
    margin-bottom: 24px;
    width: 600px;
}
.save-original {
    color: #929597;
    line-height: 20px;
    margin-left: 16px;
    white-space: nowrap;
    width: 272px;
}
label .checkbox {
    vertical-align: middle;
}
.question {
    background: url("img/question_small.png") no-repeat center center transparent;
    cursor: pointer;
    display: inline-block;
    height: 16px;
    width: 16px;
}
#hint {
    background-color: #FFFFFF;
    border: 1px solid #8E908F;
    display: none;
    margin: 4px 0 0 -32px;
    max-width: 415px;
    padding: 10px 15px 15px;
    word-wrap: break-word;
    z-index: 255;
}
.corner {
    background: url("img/corner.png") no-repeat scroll 0 0 transparent;
    height: 6px;
    left: 35px;
    margin-top: -15px;
    position: absolute;
    width: 9px;
    z-index: 261;
}
.try-descr {
    font-size: 16px;
    white-space : nowrap;
}

.try-editor-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.try-editor-list li {
    float: left;
    margin: 0 15px;
    width: 100px;
    cursor: pointer;
}
.try-editor {
    background-color: transparent;
    background-position: center 0;
    background-repeat: no-repeat;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: 45px;
    padding-top: 100px;
    text-align: center;
    text-decoration: none;
}
.try-editor.document {
    background-image: url("img/file_docx.png");
}
.try-editor.spreadsheet {
    background-image: url("img/file_xlsx.png");
}
.try-editor.presentation {
    background-image: url("img/file_pptx.png");
}

.create-sample {
    display: inline-block;
    margin-left: 75px;
}

.button, .button:visited, .button:hover, .button:active {
    display: inline-block;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;    
    cursor:pointer;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    touch-callout: none;
    -o-touch-callout: none;
    -moz-touch-callout: none;
    -webkit-touch-callout: none;
    user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    font-size: 12px;
    line-height: 16px;
    margin-right: 3px;
    padding: 4px 12px;

    color: #fff; 
    
    background: #3D96C6;

    border-width: 1px;
    border-style: solid;
    border-color: #3D96C6;
}

.button.disable {
    cursor: default;
    background: #BADDEF;
    border: 1px solid #BADDEF;   
}
.button.gray {
    background: #888;
    border: 1px solid #E9EAEA;
}

.upload-panel {
    border-right: 1px solid #D1D1D1;
    float: left;
    margin-right: 25px;
}

.file-upload {
    background: url("img/file_upload.png") no-repeat center 0 transparent;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    height: 45px;
    margin: 0 40px 16px;
    overflow: hidden;
    padding-top: 100px;
    position: relative;
    text-align: center;
    width: 100px;
}

    .file-upload input {
        cursor: pointer;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
        transform: translate(555px, 60px) scale(8);
    }

.create-panel {
    float: left;
}

.upload-panel,
.create-panel {
    padding: 10px 0;
}


#mainProgress {
    color: #979b9f;
    display: none;
    margin: 15px;
}
#mainProgress #embeddedView {
    display: none;
}
#mainProgress.embedded #embeddedView {
    display: block;
}
#mainProgress.embedded #uploadSteps {
    display: none;
}
.error-message {
    background: url("img/alert.png") no-repeat scroll 4px 10px #FFECE3;
    color: #666668 !important;
    display: none;
    font-size: 13px;
    font-weight: normal;
    margin: 5px 0;
    padding: 10px 10px 10px 30px;
    vertical-align: middle;
}
#mainProgress .error-message a {
    color: #666668;
}
.step {
    background-repeat: no-repeat;
    background-position: left center;
    background-color: transparent;
    color: #979B9F;
    font-size: 14px;
    line-height: 30px;
    padding-left: 25px;
}
.current {
    background-image: url("img/loader16.gif");
    color: #333;
}
.done {
    background-image: url("img/done.png");
    color: #333;
}
.error {
    background-image: url("img/alert.png");
}
.step-descr {
    display: block;
    margin-left: 45px;
}
#mainProgress .step-descr a {
    color: #979B9F;
}
.progress-descr {
    color: #333;
}
#loadScripts {
    display: none;
}
#iframeScripts {
    position: absolute;
    visibility: hidden;
}
.bottom-panel {
    bottom: 0;
    position: fixed;
    text-align: right;
    width: 100%;
}
.help-block span {
    font-size: 16px;
    line-height: 26px;
}

.stored-edit {
    background-color: transparent;
    background-position: left center;
    background-repeat: no-repeat;
    display: inline-block;
    line-height: 16px;
    max-width: 450px;
    margin-bottom: -6px;
    overflow: hidden;
    padding: 4px 0 1px 34px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .stored-edit.text {
        background-image: url("img/icon_docx.png");
    }

    .stored-edit.spreadsheet {
        background-image: url("img/icon_xlsx.png");
    }

    .stored-edit.presentation {
        background-image: url("img/icon_pptx.png");
    }

    .stored-edit span {
        font-size: 12px;
        line-height: 12px;
    }

    .stored-edit:hover span {
        text-decoration: underline;
    }

.stored-download {
    color: #787878;
    float: right;
    text-decoration: none;
}


    .stored-download:hover {
        color: #787878;
        text-decoration: underline;
    }

.blockTitle {
    background-color: #E2E2E2 !important;
    border: none !important;
    border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    color: #333 !important;
    font-size: 16px !important;
    font-weight: normal !important;
    padding: 15px 25px !important;
}
.dialog-close {
    background: url("img/close.png") no-repeat scroll left top #E2E2E2;
    cursor: pointer;
    float: right;
    font-size: 1px;
    height: 12px;
    line-height: 1px;
    margin-top: 4px;
    width: 12px;
}
.blockPage {
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow:0 2px 4px rgba(0, 0, 0, 0.5);
    padding: 0 !important;
}
.clearFix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/*Icon table*/
.select-user {
    margin-left: 15px;
}

.user-block-table {
    height: 100%;
    width: 100%;
}

    .user-block-table td {
        background-color: #F4F4F4;
        border-bottom: 1px solid white;
        padding: 12px 0;
    }

#tableRow {
    vertical-align: top;
}

.tableRow {
    background: transparent;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

    .tableRow:hover {
        background-color: #ebebeb;
    }

.tableHeader {
    background: transparent;
    color: #333;
    cursor: default;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    height: 40px;
    -khtml-user-select: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.tableHeaderCell {
    padding: 2px 1px 2px 5px;
    text-align: center;
}

.tableHeaderCellFileName {
    text-align: left;
}

.contentCells {
    padding: 4px 1px 4px 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
    -khtml-user-select: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

    .contentCells a {
        text-decoration: none;
    }

.contentCells-shift {
    padding-right: 30px;
}

.contentCells-icon {
    width: 6%;
}

.contentCellsSmall {
    padding: 5px 1px 5px 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    border-bottom: 1px solid #e5e5e5;
    white-space: nowrap;
    text-align: center;
}

.primaryRow {
    background-color: #e9e9e9;
}

.secondaryRow {
    background-color: #F9F9F9;
}

#user, #language {
    width: 130px;
}

.icon-download {
    margin-bottom: -5px;
}

.icon-delete {
    cursor: pointer;
    margin-bottom: -6px;
}